<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%-- <%@ page import="gop.dto.QnaDto,gop.dao.QnaDao,gop.dto.UserDto,java.util.List,java.text.SimpleDateFormat"%> --%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	request.setCharacterEncoding("utf-8");
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>Primus</title>

<link type="text/css" rel="stylesheet" href="/spring-GOP/css/common.css">
<link type="text/css" rel="stylesheet" href="/spring-GOP/css/style.css">
<link id="MainpageStyle" type="text/css" rel="stylesheet" href="/spring-GOP/css/notice/style_80.css">
<link id="pageStyle" type="text/css" rel="stylesheet" href="/spring-GOP/css/notice/style_8030.css">

<script src="http://code.jquery.com/jquery-1.8.0.js"></script>
<script type="text/javascript" src="/spring-GOP/js/common.js"></script>
<script type="text/javascript" src="/spring-GOP/js/jquery.validate.unobtrusive.min.js"></script>
<script type="text/javascript" src="/spring-GOP/js/Request_QNA.js"></script>
<script src="http://code.jquery.com/jquery-1.8.0.js"></script>
<script type="text/javascript" src="/spring-GOP/js/common.js"></script>
<%-- <script type="text/javascript">
     	function onClick(q_num) {
    		
    		var hiddenField = document.createElement("input");
    		hiddenField.setAttribute("type", "hidden");
    		hiddenField.setAttribute("name", "q_num");
    		hiddenField.setAttribute("value", q_num);

    		document.listForm.appendChild(hiddenField);

    		document.listForm.submit();
    	}
    	
    	function onSubClick() {
    		if(<%=login%>) {
    			location.href="/GOP/pages/notice/qna/campsite/request_qna1.jsp";
    		} else {
    			alert("로그인을 하셔야 합니다.");
    			location.href="/GOP/pages/login/loginmain.jsp";
    		}
    	}
    </script> --%>
</head>
<body>
	<!-- container -->
	<div id="container">
		<div id="content">
			<!-- <div> floating - 메인인 경우</div> -->
			<div id="main-shortCut">
				<div class="sub-main-section">
					<!-- 컨텐츠 작성 -->
					<div class="page-type3">
						<h2>
							<p>HELP DESK</p>
							Primus  <span>고객센터</span>
						</h2>
					</div>
					<div class="listTab mainTab">
						<div class="ars">
							<strong>ARS : 1544-5522</strong>
							<p>상담원 연결 가능 시간 : 평일 오전 9시~오후 6시</p>
						</div>
						<ul style="height: 1000px;">
							<li>
								<p class="line" style="width: 990px; display: none;"></p>
								<h3 class="tab-title">
									<a href="/spring-GOP/help/notice/list"><span
										style="width: 328px;">공지사항</span></a>
								</h3>
								<ul class="ul-tab main-tab tab-content" style="display: none;">
								</ul>
							</li>
							<li>
								<p class="line" style="width: 990px; display: none;"></p>
								<h3 class="tab-title">
									<a href="/spring-GOP/help/faq/list"><span style="width: 328px;">FAQ</span></a>
								</h3>
								<ul class="ul-tab main-tab tab-content" style="display: none;">
								</ul>
							</li>
							<li>
								<p class="line" style="width: 990px; display: block;"></p>
								<h3 class="tab-title on">
									<a><span style="width: 328px;">문의하기 관리</span></a>
								</h3>
								<ul class="ul-tab main-tab tab-content" style="display: block;">
									<li class="t-head">
										<h4 class="tit-tab">문의하기</h4>
									</li>
									<li>
										<div class="listTab subTab">
											<ul>
												<li>
													<h5 class="tab-title on">
														<a href="/spring-GOP/help/qna/qna_admin/list"
															tabindex="0"><span>1:1 문의하기 관리</span></a>
													</h5>
													<ul class="ul-tab sub-tab tab-content"
														style="display: block;">
														<!--  1:1 문의하기 내 상자 시작 -->
														<li class="tab-cont tab-ac">
															<table width="100%" class="inquiry-table"
																summary="이 표는 1:1 문의하기 정보를 제공하며 이름, 극장, 영화명, 관람일/인원, 제목, 내용, 이메일, 연락처로 구성되어 있습니다.">
																<caption class="hide">1:1 문의하기 목록</caption>
																<tbody>
																	<tr>
																		<th scope="row">질문자 이름</th>
																		<!--  질문자 이름 들어가는 곳 시작 -->
																		<td>
																			<div class="input-box">
																			<input type="hidden" name="pass" value="admin"/>

																				<!-- <input class="input-box inquiry2" name="member_id" type="text" value="member_id"> -->
																				<span>${qna.member_name}</span>
																				<div>
																					<span class="field-validation-valid"
																						data-valmsg-for="Title" data-valmsg-replace="true"></span>
																				</div>
																			</div>
																		</td>
																		<!--  질문자 이름 들어가는 곳 끝 -->
																		<!-- 질문제목 들어가는 곳 시작 -->
																		<td class="table-name"></td>
																	</tr>
																</tbody>
																<th scope="row" class="inquiry-tit"><label
																	for="Title">*질문제목</label></th>
																<td>
																	<div class="contentDiv">
																		<div
																			style="overflow: auto; width: 100%; height: 100%;">
																			${qna.subject}
																		</div>
																</td>
																<!-- 질문제목 들어가는 곳 끝 -->
																<tr>
																	<th scope="row" class="inquiry-tit"><label
																		for="Title">*질문내용</label></th>
																	<td>
																		<div class="contentDiv">
																			<div
																				style="overflow: auto; width: 100%; height: 100%;">
																				${qna.content}
																			</div>
																		</div>
																	</td>
																</tr>
																<!--  테이블 끝 선 시작 -->
																<tr class="inquiry-tel">
																	<th scope="row"></th>
																	<td></td>
																</tr>
																<!-- 테이블 끝 선 끝 -->
																</tbody>
															</table>
															<div class="inquiry-btn4">
																<span> <a
																		a href="/spring-GOP/help/qna/qna_admin/list" onClick="self.location.href=document.referrer"
																		class="button h29 w70 white"><b>목록으로</b></a>
																</span> 
																
																
																<span>
																<a onclick="document.location.href='update?q_num=${qna.q_num}'" class="button h30 w124 gray" class="mouse_over"><b>수정</b></a>
																
																</span>
																<span>
																<a onclick="document.location.href='delete?q_num=${qna.q_num}&pass=${qna.pass}'" class="button h30 w124 gray" class="mouse_over"><b>삭제</b></a>
																</span>
																<span> 
																	<a href="insert?q_num=${qna.q_num}&ref=${qna.ref}&step=${qna.step}&depth=${qna.depth}" class="button h29 w120 orange">
																	<b>답글 작성하기</b></a>
																	
																	
																</span>
															</div>
														</li>
														<!-- tab-cont -->
														<!--  문의하기 상자 끝 -->
													</ul>
												</li>
												<!--  1:1 문의하기 탭 끝 -->
												<!--  광고 및 제휴문의 탭 시작 -->
												<li>
													<h5 class="tab-title">
														<a href="/spring-GOP/help/qna/qna_admin/list1"><span>광고
																및 제휴문의 관리</span></a>
													</h5>
													<ul class="ul-tab sub-tab tab-content"
														style="display: none;">
														<!-- tab-cont -->
													</ul>
												</li>
												<li>
													<!-- <h5 class="tab-title">
															<a href="request_qna2.jsp"><span>광고 및 제휴문의</span></a>
														</h5>
														 -->
													<ul class="ul-tab sub-tab tab-content"
														style="display: none;">
														<!-- tab-cont -->
													</ul>
												</li>
											</ul>
										</div>
									</li>
								</ul>
							</li>
						</ul>
					</div>
					<!--//listTab mainTab-->

				</div>
			</div>
		</div>
	</div>
	<!-- 	</form> -->
<%-- 	<%
	}catch(Exception e){}
%>
 --%>
	<%-- <%
	}catch(Exception e){}
%>
 --%>
	</div>
</body>
</html>